package com.dify.tool.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@Getter
@AllArgsConstructor
@ToString
public enum ErrorStatus implements BaseStatus {

    PROCESS_TEMPLATE_FAIL("1001", "生成文件失败"),
    SYNC_INVITE_TENDERS_FILE_FAIL("1002", "同步招标知识库失败"),
    DIFY_API_FAIL("1003", "difyApi请求失败"),
    GENERATE_FILE_FAILED("1004", "技术方案生成失败！请重新生成"),
    ;

    /**
     * 状态码
     */
    private String code;
    /**
     * 描述
     */
    private String message;

}
